<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台--文章管理</title>
    <link rel="stylesheet" type="text/css" href="<?php echo isset($skin)?$skin:"";?>images/style.css" />
    <base target="_self"/>

    <script src='<?php echo isset($skin)?$skin:"";?>js/jquery.min.js'></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/jquery.form.min.js"></script>
    <script type="text/javascript" src="<?php echo isset($skin)?$skin:"";?>js/dist/dialog-min.js"></script>
    <script src="<?php echo isset($skin)?$skin:"";?>js/admin.js"></script>
    <script type="text/javascript">
        <!--
        $(document).ready(function () {
            $('.new_table tbody tr:even').addClass('h'); //奇偶变色，添加样式
        });
        //-->
    </script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>/js/validate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artTemplate-plugin.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/form.js"></script>
    <script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/artDialog.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo isset($skin)?$skin:"";?>js/iframeTools.js"></script>
<link rel="stylesheet" href="<?php echo isset($skin)?$skin:"";?>js/artdialog.css" type="text/css">
</head>
<body>
<div class="hh6"></div>
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
    <thead> <tr class="n_bt"><td colspan="11" align="center">爱不语商城系统</td></tr>
		<tr><th colspan='11' class="thbt">【<?php echo isset($title)?$title:"";?>】</th></tr>
	</thead>
    <tr>
        <td align="center"  class="thbt hr">用户名</td>
        <td align="center"  class="thbt hr">昵称</td>
        <td align="center"  class="thbt hr">等级</td>
        <td align="center"  class="thbt hr">Email</td>
        <td align="center"  class="thbt hr">手机号码</td>
        <td align="center"  class="thbt hr">余额</td>
        <td align="center"  class="thbt hr">状态</td>
        <td align="center"  class="thbt hr">注册日期</td>
        <td align="center"  class="thbt hr">充值记录</td>
        <td align="center"  class="thbt hr">消费详情</td>
        <td align="center"  class="thbt">操作</td>
    </tr>
    <?php if(is_array($oj))  foreach($oj as $v) { ?>
    <tr>
        <td  class="hr" align="center"><?php echo isset($v->username)?$v->username:"";?></td>
        <td  class="hr" align="center"><?php echo isset($v->nickname)?$v->nickname:"";?></td>
        <td  class="hr" align="center"><?php echo isset($v->group_name)?$v->group_name:"";?></td>
        <td  class="hr" align="center" ><?php echo isset($v->email)?$v->email:"";?></td>
        <td  class="hr" align="center" ><?php echo isset($v->mobile)?$v->mobile:"";?></td>
        <td  class="hr" align="center"><a href="?c=user&a=balance_log&id=<?php echo isset($v->uid)?$v->uid:"";?>"><?php echo isset($v->balance)?$v->balance:"";?></a></td>
        <td  class="hr" align="center"><?php if($v->status==1){?>正常<?php }else{?>锁定<?php }?></td>
        <td class="hr" align="center"><?php echo date('y-m-d H:i:s',$v->in_time);?></td>
        <td class="hr" align="center"><a href="?c=user&a=balance_log&id=<?php echo isset($v->uid)?$v->uid:"";?>">
                <?php echo isset($v->balancelog)?$v->balancelog:"";?></a> </td>
        <td class="hr" align="center"><a href="?c=user">查看</a> </td>
        <td align="center">
            <a href="?c=<?php echo isset($classname)?$classname:"";?>&a=balance&id=<?php echo isset($v->uid)?$v->uid:"";?>">充值</a>
            <a href="?c=<?php echo isset($classname)?$classname:"";?>&a=info&id=<?php echo isset($v->uid)?$v->uid:"";?>">修改</a>
            <a href="?c=<?php echo isset($classname)?$classname:"";?>&a=del&id=<?php echo isset($v->uid)?$v->uid:"";?>">删除</a></td>
    </tr>
    <?php }?>
</table><div class="pages"><?php echo isset($pagelist)?$pagelist:"";?></div>
</body>
</html>
